<?php
/**
 * about前台页面
 * author wang
 */
define("PHP_IN",true);
require "include/init.php";
require ROOT_PATH."smarty_connection.php";

$articleid = isset($_GET['articleid']) ? $_GET['articleid'] : 1;

$sql = "SELECT * FROM article WHERE articleid = $articleid";   //联系我们
$result = $db->query($sql);
$article = $db->fetch_one($result);

$article_nav = array(
    1=>"关于我们",
    5=>"团队介绍",
    6=>"我们的优势",
    7=>"发展历程"
);

$smarty->assign("article",$article);
$smarty->assign("article_nav",$article_nav);

$smarty->display("about.tpl");
$db->close();
?>
